<template>
  <div class="header">
    <div class="header_left" @click="toHome">
      <span class="iconfont">&#xe624;</span>
    </div>
    <div class="header-title">
      城市选择
    </div>
  </div>
</template>
<script>
  export default{
    methods:{
      toHome(){
        this.$router.push('/');
      }
    }
  }
</script>
<style scoped lang='stylus'>
@import '~css/var.styl';
.header {
  width: 100%;
  position: relative;
  height: .88rem;
  line-height: .88rem;
  background: $bgColor;
  font-size: 0.32rem;
  color: $textColor;
  
}
.header_left{
	width: 0.2rem;
	padding: 0 0.2rem;
	text-align: center;
	font-weight: bold;
  position: absolute;
}
.header-title{
  text-align: center;
}
</style>
